package com.example.designmode.decoration;

//实现顶层接口 用于装饰类使用
public class Finery implements Component{

    private Component component;

    public Finery(Component component) {
        this.component = component;
    }

    @Override
    public void show(){
        this.component.show();
    }

}
